package com.ruibang.glass.produce.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: glass
 * @description: 销售月统计数据
 * @author: wujie
 * @create: 2024-04-23 15:36
 */
@Data
@ApiModel(value = "销售统计数据")
@TableName("g_produce_sale_statistics")
public class SaleStatistics {

    @ApiModelProperty("销售统计Id")
    @TableId(value = "sale_id", type = IdType.ASSIGN_ID)
    private String saleId;

    @ApiModelProperty("当月订单数量")
    private int orderNum;

    @ApiModelProperty("当月已发货数量")
    private int alreadyShipments;

    @ApiModelProperty("当月已待发货数量")
    private int pendShipments;

    @ApiModelProperty("当月退货数量")
    private int salesReturn;

    @ApiModelProperty("当月换货数量")
    private int exchangeGoods;

    @ApiModelProperty("当月收款金额")
    private double receiptAmount;

    @ApiModelProperty("未收款总金额")
    private double notReceiptAmount;
}
